#include <iostream>
#include <map>
#include <vector>
#include <string>

#include "TROOT.h"
#include "TNamed.h"
#include "TChain.h"
#include "TFile.h"

#include "TROOT.h"
#include "TApplication.h"

#include "TFile.h"
#include "TChain.h"
#include "TString.h"

#include "TH2.h"
#include "THStack.h"
#include "TLegend.h"
#include "TPaveText.h"
#include "TLorentzVector.h"

#include "LHEF.h"

#include "ExRootAnalysis/ExRootClasses.h"

#include "ExRootAnalysis/ExRootTreeWriter.h"
#include "ExRootAnalysis/ExRootTreeBranch.h"

#include "ExRootAnalysis/ExRootUtilities.h"
#include "ExRootAnalysis/ExRootProgressBar.h"

#ifndef Clustering_h
#define Clustering_h

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TLine                                                                //
//                                                                      //
// A line segment.                                                      //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TObject
#include "TObject.h"
#endif

class Clustering: public TObject {

protected:
	Double_t fX1; //X of 1st point
	int nome;
public:
	// TLine status bits

	Clustering();
	//   Clustering(Double_t x1, string nome);

	virtual ~Clustering();

	//   Double_t       GetX1() const {return fX1;}
	//   Double_t       GetX2() const {return fX2;}
	//   Double_t       GetY1() const {return fY1;}
	//   Double_t       GetY2() const {return fY2;}

	void SetName(int);
	int GetName();

	//   virtual void   SetX1(Double_t x1) {fX1=x1;}
	//   virtual void   SetName(string y2) {nome=y2;}

ClassDef(Clustering,2) //A line segment
};

void Clustering::SetName(int n) {
	nome = n;
}

int Clustering::GetName() {
	return nome;
}

#endif

